using Brouteforce.NewManagers;
using Microsoft.Xna.Framework;

namespace Brouteforce.UserInterface.UIControls.MenuItems
{
    public class AboutAbstractMenuItem : AbstractMenuItem
    {
        public AboutAbstractMenuItem(string name, Rectangle surroundingRectangle)
            : base(name, surroundingRectangle)
        {
        }

        public override void Update()
        {
            if (InputManager.Instance.IsMouseClickedOn(RelativeUIcontrolRectangle))
            {
                UIControlManager.Instance.ChangeFocousedUIControl(this);
            }
        }
    }
}
